package com.leo.ibatis.demo.service;

import java.util.List;

import com.leo.ibatis.demo.criteria.SequenceCriteria;
import com.leo.ibatis.demo.domain.Sequence;

public interface SequenceService {

	void insert(Sequence sequence);

	int update(Sequence sequence);

	int delete(String name);
	
	Sequence select(String name);

	List<Sequence> list(SequenceCriteria sequenceCriteria);

	List<Sequence> listOnPage(SequenceCriteria sequenceCriteria);

}
